<?php

class admin_menu_item_m_acl extends admin_menu_item_m_core{
    public function  __construct($id = NULL) {        
        parent::__construct($id);
    }

    public  function get_items($group_id){        
        $objs = $this->query("SELECT * FROM modules
INNER JOIN acl_module_access_permissions ap ON ap.module_id=modules.id
INNER JOIN admin_menu_items ai ON ai.module_id = ap.module_id
WHERE acl_group_id = '$group_id'");
        return $this->_grouped_items($objs);

        
    }
}
?>
